{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang admin_basic_share:admin}</h3>
	</div>
	<div class="setform">
		<form class="pzform" action="{url admin/basicshare?act=save}" method="post">
			
			<div class="formgroup">
				<label class="formlabel">{lang basic_share_needverify:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="verify" value="1" {if $setting['verify']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="verify" value="0" {if !$setting['verify']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang basic_share_needverify_tip:admin}</span>
			</div>
			<div class="formgroup">
				<label class="formlabel">{lang basic_share_title_range:admin}:</label>
				<div class="formcontrol"> 
					<input type="text" class="small" name="title_range_s"  value="$setting['title_range_s']"> 
					<label>-</label>
               		<input type="text" class="small" name="title_range_l" value="$setting['title_range_l']">
				</div> 
				<span class="formhelp">{lang basic_share_title_range:admin}</span>
			</div>
			<div class="formgroup">
				<label class="formlabel">{lang basic_share_content_range:admin}:</label>
				<div class="formcontrol">
					<input type="text" class="small" name="content_range_s"  value="$setting['content_range_s']"> 
					<label>-</label>
               		<input type="text" class="small" name="content_range_l" value="$setting['content_range_l']">
				</div> 
				<span class="formhelp">{lang basic_share_content_range:admin}</span>
			</div>
			<div class="formgroup">
				<label class="formlabel">{lang basic_share_comment_range:admin}:</label>
				<div class="formcontrol">
					<input type="text" class="small" name="comment_range_s"  value="$setting['comment_range_s']"> 
					<label>-</label>
               		<input type="text" class="small" name="comment_range_l" value="$setting['comment_range_l']">
				</div> 
				<span class="formhelp">{lang basic_share_comment_range:admin}</span>
			</div>
			<div class="formgroup">
				<label class="formlabel">{lang basic_share_album_range:admin}:</label>
				<div class="formcontrol">
					<input type="text" class="small" name="album_range_s"  value="$setting['album_range_s']"> 
					<label>-</label>
               		<input type="text" class="small" name="album_range_l" value="$setting['album_range_l']">
				</div> 
				<span class="formhelp">{lang basic_share_album_range:admin}</span>
			</div>
			<div class="formgroup"> 
				<label class="formlabel">{lang basic_share_tagnum:admin}:</label>
				<div class="formcontrol">
					<input type="text" name="tagnum" value="$setting['tagnum']"/>
				</div>
				<span class="formhelp">{lang basic_share_tagnum_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang basic_share_domainwhitelist:admin}:</label>
				<div class="formcontrol">
					<textarea id="domainwhitelist" name="domainwhitelist" rows="5">$setting['domainwhitelist']</textarea>
				</div>
				<span class="formhelp">{lang basic_share_domainwhitelist_tip:admin}</span>
			</div>
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}